package com.tensquare.recruit.client;


import com.tensquare.recruit.client.impl.BaseControllerImpl;
import entity.Result;
import entity.StatusCode;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "tensquares-base",fallback = BaseControllerImpl.class)
public interface RecruitClient {

    //接口@PathVariable("aa")  aa要写上
    @GetMapping("/label/{labelId}")
    public Result findById(@PathVariable("labelId") String labelId );
}
